var Levels = [
 { // [0] Level en place jusqu'à présent
    'origins': {
      'player1': {'x': 0, 'y': 0},
      'player2': {'x': 18, 'y': 0},
      'exit': {'x': 9, 'y': 5}
    },
    'walls': [
      [15, 5, 5, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 5, 7, 5, 14],
      [10, 0, 0, 1, 1, 1, 1, 2, 0, 0, 2, 0, 3, 1, 1, 2, 0, 2, 0, 14],
      [11, 1, 1, 1, 1, 1, 2, 3, 1, 1, 2, 0, 2, 0, 3, 0, 0, 2, 0, 14],
      [10, 1, 3, 1, 2, 0, 2, 0, 0, 0, 2, 0, 2, 0, 2, 1, 1, 1, 0, 14],
      [11, 2, 2, 0, 1, 1, 1, 0, 0, 0, 2, 0, 2, 0, 2, 0, 1, 1, 1, 14],
      [11, 0, 2, 0, 0, 1, 1, 1,15, 5, 5, 10, 0, 2, 2, 0, 2, 0, 0, 14],
      [10, 3, 1, 2, 2, 0, 1, 1, 10, 0, 0, 10, 0, 2, 1, 1, 2, 0, 0, 14],
      [10, 2, 0, 2, 2, 0, 0, 0, 1, 6, 3, 1, 1, 0, 0, 0, 1, 1, 3, 14],
      [10, 3, 1, 0, 3, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 2, 3, 0, 14],
      [10, 2, 0, 1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 2, 0, 14],
      [10, 1, 1, 2, 1, 1, 2, 0, 0, 0, 0, 0, 0, 2, 2, 1, 0, 0, 0, 14],
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]
    ]
 }, { // [1] Level d'origine créé par JA
    'origins': {
      'player1': {'x': 18, 'y': 0},
      'player2': {'x': 18, 'y': 10},
      'exit': {'x': 0, 'y': 5}
    },
    'walls': [
      [15, 5, 7, 5, 5, 7, 5, 7, 5, 5, 7, 7, 5, 7, 5, 5, 7, 7, 7, 14],
      [10, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 1, 2, 2, 14],
      [10, 2, 1, 0, 2, 2, 2, 1, 0, 2, 2, 2, 2, 1, 0, 2, 0, 2, 2, 14],
      [10, 3, 1, 1, 0, 0, 3, 1, 1, 0, 0, 0, 3, 1, 1, 0, 1, 0, 0, 14],
      [10, 1, 1, 1, 3, 0, 1, 1, 1, 3, 0, 1, 1, 1, 3, 0, 3, 0, 0, 14],
      [10, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 0, 2, 0, 0, 2, 2, 2, 2, 14],
      [10, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 1, 2, 2, 14],
      [10, 2, 1,  0, 2, 2, 2, 1, 0, 2, 2, 2, 2, 1, 0, 2, 0, 3, 3, 14],
      [10, 3, 1, 1, 0, 0, 3, 1, 1, 0, 0, 0, 3, 1, 1, 0, 2, 0, 0, 14],
      [10, 1, 1, 1, 3, 0, 1, 1, 1, 3, 0, 0, 1, 1, 1, 3, 0, 0, 0, 14],
      [10, 1, 1, 1, 3, 0, 1, 1, 1, 3, 0, 0, 1, 1, 1, 3, 0, 0, 0, 14],
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]
    ]
  }, { // [2] Level d'origine créé par JA
    'origins': {
      'player1': {'x': 0, 'y': 0},
      'player2': {'x': 18, 'y': 0},
      'exit': {'x': 10, 'y': 10}
    },
    'walls': [
      [15, 5, 7, 5, 14, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 15, 5, 5, 5, 14],
      [10, 0, 2, 2, 14, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 10, 2, 3, 1, 14],
      [10, 2, 2, 2, 14, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 10, 2, 2, 2, 14],
      [11, 2, 2, 2, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 7, 0, 2, 0, 2, 14],
      [10, 0, 0, 2, 1, 1, 1, 1, 1, 1, 0, 2, 0, 0, 2, 0, 2, 2, 0, 14],
      [10, 1, 1, 3, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 1, 2, 0, 14],
      [10, 0, 3, 0, 0, 2, 0, 0, 0, 2, 2, 1, 3, 1, 1, 2, 3, 0, 0, 14],
      [10, 0, 2, 0, 2, 2, 0, 3, 1, 0, 2, 0, 2, 0, 3, 0, 3, 1, 1, 14],
      [11, 1, 1, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 14],
      [10, 3, 1, 0, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 0, 0, 0, 14],
      [10, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 14],
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]     
    ]

  }, { // [3] Level d'origine créé par JA
    'origins': {
      'player1': {'x': 0, 'y': 0},
      'player2': {'x': 0, 'y': 10},
      'exit': {'x': 18, 'y': 5}
    },
    'walls': [
      [15, 5, 5, 5, 7, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 5, 7, 7, 5, 14],   
      [10, 3, 1, 2, 2, 0, 0, 2, 1, 3, 1, 1, 2, 0, 0, 0, 2, 2, 2, 14],   
      [10, 2, 0, 2, 1, 1, 1, 0, 0, 2, 0, 0, 2, 3, 1, 2, 2, 2, 2, 14],   
      [10, 2, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 2, 2, 0, 2, 1, 0, 2, 14],        
      [10, 1, 1, 1, 0, 0, 0, 15, 5, 5, 5, 5, 10, 2, 0, 1, 1, 3, 0, 14],   
      [11, 1, 1, 1, 1, 1, 1, 10, 0, 0, 0, 0, 11, 0, 0, 0, 0, 2, 0, 14],   
      [10, 3, 1, 1, 1, 0, 2, 10, 0, 0, 0, 0, 10, 3, 1, 2, 2, 2, 0, 14],    
      [10, 2, 0, 1, 3, 0, 2, 5, 5, 5, 5, 5, 0, 1, 2, 2, 3, 1, 0, 14],   
      [10, 1, 1, 0, 2, 0, 2, 0, 0, 2, 0, 0, 0, 0, 2, 2, 2, 0, 0, 14],   
      [10, 3, 1, 1, 2, 1, 1, 1, 1, 2, 0, 1, 3, 1, 2, 2, 1, 1, 0, 14],   
      [10, 2, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 2, 1, 1, 1, 1, 14],   
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]   
    ] 

  }, { // [4] Level d'origine créé par JA
    'origins': {
      'player1': {'x': 0, 'y': 3},
      'player2': {'x': 0, 'y': 5},
      'exit': {'x': 18, 'y': 4}
    },
    'walls': [
      [15, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 7, 5, 5, 14],
      [10, 2, 1, 1, 1, 1, 2, 0, 2, 0, 3, 1, 0, 0, 3, 0, 2, 0, 0, 14],
      [10, 1, 1, 1, 1, 2, 2, 0, 2, 0, 1, 1, 2, 0, 2, 1, 2, 0, 0, 14],
      [11, 1, 1, 2, 3, 0, 2, 1, 1, 1, 1, 0, 2, 0, 2, 3, 0, 3, 0, 14],
      [10, 0, 0, 1, 0, 3, 0, 3, 1, 1, 1, 1, 0, 0, 2, 1, 1, 0, 0, 14],
      [10, 0, 0, 3, 2, 1, 2, 1, 1, 1, 1, 1, 2, 0, 2, 3, 1, 2, 0, 14], 
      [11, 1, 3, 0, 1, 2, 2, 3, 1, 1, 1, 2, 2, 0, 2, 2, 0, 1, 0, 14],
      [10, 0, 1, 1, 1, 0, 2, 1, 2, 0, 0, 2, 2, 0, 2, 1, 1, 2, 0, 14],
      [10, 0, 3, 1, 2, 0, 1, 2, 1, 2, 3, 0, 2, 0, 3, 1, 2, 2, 0, 14],  
      [10, 3, 0, 0, 1, 1, 1, 0, 0, 2, 2, 1, 1, 1, 0, 2, 0, 2, 0, 14], 
      [10, 1, 1, 1, 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 0, 0, 14],
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]     
    ]

 }, { // [5] Level d'origine créé par JA
    'origins': {
      'player1': {'x': 9, 'y': 0},
      'player2': {'x': 9, 'y': 10},
      'exit': {'x': 8, 'y': 5}
    },
    'walls': [
      [15, 5, 7, 5, 5, 5, 7, 5, 5, 7, 5, 5, 5, 5, 5, 5, 5, 5, 5, 14],
      [10, 2, 2, 3, 1, 2, 2, 3, 1, 0, 2, 0, 0, 0, 0, 0, 2, 0, 0, 14],
      [10, 2, 0, 3, 1, 0, 2, 1, 1, 1, 0, 3, 3, 1, 2, 2, 0, 2, 0, 14],
      [11, 1, 0, 2, 3, 1, 5, 5, 5, 7, 7, 0, 0, 0, 2, 1, 1, 2, 0, 14],
      [10, 3, 1, 0, 1, 1, 1, 2, 0, 2, 2, 1, 1, 0, 2, 0, 0, 3, 0, 14],
      [10, 1, 3, 1, 1, 2, 2, 0, 0, 2, 1, 1, 1, 2, 3, 1, 2, 2, 0, 14],
      [11, 2, 2, 3, 2, 2, 0, 2, 1, 0, 1, 0, 0, 2, 2, 0, 2, 2, 1, 14],
      [10, 2, 0, 2, 2, 1, 2, 0, 1, 1, 1, 1, 2, 2, 1, 1, 0, 3, 0, 14],
      [10, 2, 3, 0, 2, 2, 7, 5, 5, 5, 5, 2, 2, 3, 1, 1, 1, 2, 0, 14],
      [10, 0, 2, 1, 0, 0, 2, 3, 1, 1, 2, 2, 2, 2, 0, 0, 0, 2, 1, 14],
      [10, 0, 1, 1, 1, 1, 0, 0, 3, 1, 0, 2, 1, 1, 1, 1, 1, 1, 0, 14],  
      [13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 12]      
    ]
}];